﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditPara.aspx.cs" Inherits="EditPara" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>THERMALTESTPARA编辑</title>
    <link rel="stylesheet" type="text/css" href="../css/master.css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <img src="../img/EditPara.gif" style="width: 100%; height: 38px" />
        <asp:GridView Style="z-index: 100; left: 0px; top: 0px" ID="grvFeeInfo" runat="server"
            Width="100%" AutoGenerateColumns="False" CssClass="grid" DataKeyNames="ID_KEY"
            OnRowCancelingEdit="grvFeeInfo_RowCancelingEdit" OnRowEditing="grvFeeInfo_RowEditing"
            OnRowUpdating="grvFeeInfo_RowUpdating">
            <Columns>
                <asp:TemplateField HeaderText="序号" ItemStyle-Width="10%">
                    <ItemTemplate>
                        <asp:Label Text='<%# Container.DataItemIndex+1%> ' runat="server" ID='lblID'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField HtmlEncode="False" DataField="UnitID" Visible="false" HeaderText="机组">
                    <HeaderStyle Width="10%" Font-Bold="False"></HeaderStyle>
                </asp:BoundField>
                <asp:BoundField HtmlEncode="False" DataField="PARAID" HeaderText="点号" ReadOnly="true">
                    <HeaderStyle Width="20%" Font-Bold="False"></HeaderStyle>
                </asp:BoundField>
                <asp:BoundField HtmlEncode="False" DataField="DESC" HeaderText="描述" ReadOnly="true">
                    <HeaderStyle Width="30%" Font-Bold="False"></HeaderStyle>
                </asp:BoundField>
                <asp:BoundField HtmlEncode="False" DataField="UNIT" HeaderText="单位名称" ReadOnly="true">
                    <HeaderStyle Width="10%" Font-Bold="False"></HeaderStyle>
                </asp:BoundField>
                <asp:BoundField HtmlEncode="False" DataField="FORMULA" HeaderText="公式值">
                    <HeaderStyle Width="10%" Font-Bold="False"></HeaderStyle>
                </asp:BoundField>
                <asp:CommandField CancelImageUrl="~/img/back_small.png" EditImageUrl="~/img/edit.png"
                    HeaderText="编辑" UpdateImageUrl="~/img/recur.png" ButtonType="Image" ShowEditButton="True">
                    <HeaderStyle Width="10%"></HeaderStyle>
                </asp:CommandField>
            </Columns>
            <EmptyDataTemplate>
                <div style="text-align: center; width: 100%;">
                    暂无数据</div>
            </EmptyDataTemplate>
        </asp:GridView>
    </div>
    </form>
</body>
</html>
